package com.ruoyi.exam.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.exam.domain.Question;
import com.ruoyi.exam.viewmodel.admin.question.QuestionEditRequestVM;

import java.util.List;

/**
 * <p>
 * 题目表 服务类
 * </p>
 *
 * @author FSD
 * @since 2024-02-19
 */
public interface IQuestionService extends IService<Question> {

    Question insertFullQuestion(QuestionEditRequestVM model, Integer userId);

    Question updateFullQuestion(QuestionEditRequestVM model);

    QuestionEditRequestVM getQuestionEditRequestVM(Integer questionId);

    QuestionEditRequestVM getQuestionEditRequestVM(Question question);

    Integer selectAllCount();

    List<Integer> selectMothCount();

}
